package cloud.maque.sso.server.conf;

import org.springframework.boot.autoconfigure.condition.AnyNestedCondition;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;


public class MockDisabledCondition extends AnyNestedCondition {
    public MockDisabledCondition() {
        super(ConfigurationPhase.PARSE_CONFIGURATION);
    }

    /**
     * 如果未配置版本，则不开启Mock
     */

    @ConditionalOnProperty(prefix = "maque.oauth2.mock", name = "enabled", havingValue = "false", matchIfMissing = true)
    static class Value1Condition {

    }

}
